package ModelImplementation

import "time"

type ServiceCharge struct {
	itsDate time.Time
	itsAmount float64
}

func(s ServiceCharge) ServiceCharge(date time.Time,amount float64) ServiceCharge{
	s.itsDate = date
	s.itsAmount = amount
	return s
}

func(s ServiceCharge) GetAmount() float64{
	return s.itsAmount
}